abperson.htmlHTMLudog+‚πùΔ¢πùΔ¢ÅÅC¸ Monkeybread Realbasic plugin - Documentation - ABPerson

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class ABPerson

class, Addressbook Di, 6. Aug 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: A class for handling a person inside the addessbook.
Notes: Requires Mac OS X 10.2.

AsVCard as CFBinary

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Returns the person record as a VCard.
Notes: Requires Mac OS X 10.2.

GetMultiValue(property as CFString) as ABMulti

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns a multi value from this person.
Notes:
Returns nil if value not found or not set.
Requires Mac OS X 10.2.

GetValue(property as CFString) as CFObject

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns a value from this person.
Notes:
Returns nil if value not found or not set.
Requires Mac OS X 10.2.

MatchSearch(search as ABSearch) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Does this person match the search object?
Notes: Requires Mac OS X 10.2.

ParentGroups as ABGroupArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Returns an array with all groups where this person belongs to.
Notes: Requires Mac OS X 10.2.

PictureTiffData as CFBinary

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Returns the binary data of the tiff picture for this person.
Example:
dim a as addressbook
dim p as abperson
dim t as cfbinaryData

a=new addressbook

p=a.Owner
if p<>nil then
t=p.PictureTiffData

if t<>nil then
canvas1.backdrop=StringtoPictureByOSType(t.str,"TIFF")
else
msgBox "no picture?"
end if
else
msgBox "Owner not found."
end if
Notes:
This value can be set.
Use the StringToPicture function to get a picture from it and provide QuickTime the OSType "TIFF" to make it faster.
Requires Mac OS X 10.2.

RemoveValue(property as CFString) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Removes a value.
Notes:
Returns false if value not found or not set. True if successfull.
Requires Mac OS X 10.2.

SetValue(property as CFString,data as ABMulti) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Sets a multi value.
Notes:
Returns false if value not found or not set.
Requires Mac OS X 10.2.

SetValue(property as CFString,data as CFObject) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Sets a value.
Notes:
Returns false if value not found or not set.
Requires Mac OS X 10.2.

UniqueID as CFString

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: The Unique ID of this record.
Notes:
May be used to save a reference to a person inside a listbox (with an invisible column).
Requires Mac OS X 10.2.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ